﻿using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Collections;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using CRUD.DAO;
using CapaGestion.Spring;
using GestionadorBaseDatos;
using System.Web.UI.MobileControls;
using CapaNegocios;


using Spring.Context.Support;
using Spring.Data;
using Spring.Context;

public partial class InterfazKamalde_Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        


    }
    protected void TextBox1_TextChanged(object sender, EventArgs e)
    {

      
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
       
        
//        IApplicationContext ctx = ContextRegistry.GetContext();

//        FormaPagoDao formaPagoDao = ctx["FormaPagoDao"] as FormaPagoDao;
        
//        FormaPago pago = formaPagoDao.GetFormaPago("fet");

//       // box.Text = pago.Tipo;

//        box.Text = box.Text;

//        System.Collections.IList result = formaPagoDao.GetAll();

////        formaPagoDao.CrearFormaPago("tarjeta de debito", "malo");
//        //FormaPago nuevo = new FormaPago();
//        //string cadena = "";
//        //box.Text = nuevo.Descripcion;

//        //for (int i = 0; i < result.Count; i++)
//        //{
//        //    nuevo = (FormaPago)result[i];
//        //    cadena = cadena + " " + nuevo.Descripcion;
//        //}

//      //  box.Text = pago.Tipo + " siii ";
      
        
    }
}
